package com.simple.data.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.simple.base.dao.DataBaseDAO;
import com.simple.data.dao.IEnterpriseSynDAO;
import com.simple.data.vo.EnterpriseSynVO;


@Repository("enterpriseSynDAO")
public class EnterpriseSynDAOImpl extends DataBaseDAO implements IEnterpriseSynDAO {

	@Override
	public EnterpriseSynVO findById(String id) {
		return super.get(EnterpriseSynVO.class, id);
	}

	@Override
	public void save(EnterpriseSynVO enterpriseSynVO) {
		super.save(enterpriseSynVO);
	
		
	}

	@Override
	public void update(EnterpriseSynVO enterpriseSynVO) {
		super.update(enterpriseSynVO);
		
	}

	@Override
	public List<EnterpriseSynVO> findAll() {
		return super.query(EnterpriseSynVO.class);
	}

	@Override
	public void delete(EnterpriseSynVO enterpriseSynVO) {
		
		super.delete(enterpriseSynVO);
		
	}

	@Override
	public void delete(String id) {
		super.delete(EnterpriseSynVO.class,id);
		
	}

	

}
